//File: UCLoginUser.java

package ucm;
import client.Client;

/**
 * UCLoginUser
 *
 * Goal: Login User to system
 * Primary Actor: User
 * Precondition: Connected to database. User exists on database. User is not logged in.
 * Postcondtion: User is logged in
 * 
 * @author Tobias Robinson
 */
public class UCLoginUser {

    public UCLoginUser() { 
        run();
    }

    /**
     * 1. Actor selects Login User.
     * 2. The system requests the actor to enter user info.
     * 4. System verifies user input.
     * 5. System updates user status.
     * 6. System notifies actor they are logged in.
     */
    public void run() {
        Client.getInstance().logIn("user");
    }
}
